package com.zone.gateway.core.session;

import com.zone.gateway.core.bind.IGenericReference;

import java.lang.reflect.Method;
import java.util.Map;

/**
 * @author: zongzi
 * @description: TODO
 * @date: 2025/4/18
 */
public interface GatewaySession {

    // todo 泛化调用临时
    Object get(Method method, Map<String, Object> args);

    Object post(Method method, Map<String, Object> args);


    IGenericReference getMapped();

    /**
     * 获取session上下文
     *
     * @return
     */
    Configuration getConfiguration();
}
